<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo (C("sitename")); ?></title>

<link href="__PUBLIC__/dwz/themes/default/style.css" rel="stylesheet"
	type="text/css" />
<link href="__PUBLIC__/dwz/themes/css/core.css" rel="stylesheet"
	type="text/css" />
<!--[if IE]>
<link href="__PUBLIC__/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->

<script src="__PUBLIC__/dwz/js/speedup.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery-1.4.4.min.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery.cookie.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery.validate.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/jquery.bgiframe.js"
	type="text/javascript"></script>

<!-- 可以注释掉进行单个文件调试 -->

<script src="__PUBLIC__/dwz/js/dwz.min.js" type="text/javascript"></script>

<script src="__PUBLIC__/dwz/js/dwz.regional.zh.js"
	type="text/javascript"></script>


<script src="__PUBLIC__/dwz/js/src/dwz.core.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.util.date.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.validate.method.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.regional.zh.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.barDrag.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.drag.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.tree.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.accordion.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.ui.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.theme.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.switchEnv.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.alertMsg.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.contextmenu.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.navTab.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.tab.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.resize.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.dialog.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.dialogDrag.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.cssTable.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.stable.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.taskBar.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.pagination.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.database.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.datepicker.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.effects.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.panel.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.checkbox.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.history.js"
	type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.combox.js" type="text/javascript"></script>
<script src="__PUBLIC__/dwz/js/src/dwz.regional.zh.js"
	type="text/javascript"></script>



<script src="__PUBLIC__/ueditor/editor_config.js" type="text/javascript"></script>
<script src="__PUBLIC__/ueditor/editor_all_min.js"
	type="text/javascript"></script>


<script type="text/javascript" src="__PUBLIC__/ckfinder/ckfinder.js"></script>

<script type="text/javascript">
function fleshVerify(){
	//重载验证码
	$('#verifyImg').attr("src", '__APP__/Public/verify/'+new Date().getTime());
}
function dialogAjaxMenu(json){
	dialogAjaxDone(json);
	if (json.statusCode == DWZ.statusCode.ok){
		$("#sidebar").loadUrl("__APP__/Public/menu");
	}
}
function navTabAjaxMenu(json){
	navTabAjaxDone(json);
	if (json.statusCode == DWZ.statusCode.ok){
		$("#sidebar").loadUrl("__APP__/Public/menu");
	}
}
$(function(){
	DWZ.init("__PUBLIC__/dwz/dwz.frag.xml", {
		loginUrl:"__APP__/Public/login_dialog", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"__APP__/Public/login",	//跳到登录页面
		statusCode:{ok:1,error:0},
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"_order", orderDirection:"_sort"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"__PUBLIC__/dwz/themes"});
		}
	});
});
//清理浏览器内存,只对IE起效，FF不需要
if ($.browser.msie) {
	window.setInterval("CollectGarbage();", 10000);
}
</script>
</head>

<body scroll="no">
<div id="layout">
<div id="header">
<div class="headerNav"><a class="logo" href="__APP__">Logo</a>
<ul class="nav">
	<li><a href="__APP__/Public/main" target="dialog" width="580"
		height="360" rel="sysInfo">系统消息</a></li>
	<li><a href="__APP__/Public/password/" target="dialog" mask="true">修改密码</a></li>
	<li><a href="__APP__/Public/profile/" target="dialog" mask="true">修改资料</a></li>
	<li><a href="__APP__/Public/logout/">退出</a></li>
</ul>
<ul class="themeList" id="themeList">
	<li theme="default">
	<div class="selected">蓝色</div>
	</li>
	<li theme="green">
	<div>绿色</div>
	</li>
	<li theme="purple">
	<div>紫色</div>
	</li>
	<li theme="silver">
	<div>银色</div>
	</li>
</ul>
</div>
</div>

<div id="leftside">
<div id="sidebar_s">
<div class="collapse">
<div class="toggleCollapse">
<div></div>
</div>
</div>
</div>

<div id="sidebar"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div class="accordion" fillSpace="sideBar">
<div class="accordionHeader">
<h2><span>Folder</span>菜单</h2>
</div>
<div class="accordionContent">

<ul class="tree treeFolder">
	<?php if(is_array($menu)): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): ++$i;$mod = ($i % 2 )?><?php if((strtolower($item['name']))  !=  "public"): ?><?php if((strtolower($item['name']))  !=  "index"): ?><?php if(($item['access'])  ==  "1"): ?><li><a href="__APP__/<?php echo ($item['name']); ?>/index/" target="navTab"
		rel="<?php echo ($item['name']); ?>"><?php echo ($item['title']); ?></a></li><?php endif; ?><?php endif; ?><?php endif; ?><?php endforeach; endif; else: echo "" ;endif; ?>
</ul>

</div>
</div>
</div>
</div>

<div id="container">
<div id="navTab" class="tabsPage">
<div class="tabsPageHeader">
<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
<ul class="navTab-tab">
	<li tabid="main" class="main"><a href="javascript:void(0)"><span><span
		class="home_icon">我的主页</span></span></a></li>
</ul>
</div>
<div class="tabsLeft">left</div>
<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
<div class="tabsRight">right</div>
<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
<div class="tabsMore">more</div>
</div>
<ul class="tabsMoreList">
	<li><a href="javascript:void(0)">我的主页</a></li>
</ul>
<div class="navTab-panel tabsPageContent layoutBox">
<div>
<div class="accountInfo"><!-- 
							<div class="alertInfo">
							</div>
							-->
<div class="right">
<p>现在是：<?php echo (date('Y-m-d g:i a',time())); ?></p>
</div>
<p><span><?php echo (C("sitename")); ?></span></p>
<p>欢迎使用后台管理系统, <?php echo ($_SESSION['loginUserName']); ?></p>
</div>
<div class="pageFormContent" layoutH="80"><!-- 
							
								<div class="divider"></div>
								
							<div class="divider"></div>
							
							
 --></div>

</div>
</div>
</div>
</div>

</div>


<div id="footer">Copyright &copy; 2011 <a href="" target="_blank"></a></div>


</body>
</html>